/*
 * @Author: your name
 * @Date: 2021-08-19 16:48:50
 * @LastEditTime: 2021-08-19 19:33:37
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue_study\src\network\categroy.js
 */
import {request} from './request'

export function getCategroy(){
    return request({
        url:"/api/goods"
    })
}

export function getCategroyGoods(order='sales',cid=0,page=1){
    return request({
        url:"/api/goods?category_id="+cid+'&page='+page+'&'+order+'=1'
    })
}